<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>宝钢彩涂板管理后台</title>
    <link rel="stylesheet" href="/static/css/normalize.css">
	<link rel="stylesheet" href="/static/css/add.css">
	<link rel="stylesheet" href="/static/css/color-style.css">
	<link rel="stylesheet" href="/static/css/font-awesome.min.css">
    <script type="text/javascript" src="/static/js/jquery-1.11.1.min.js"></script>
</head>
<body>
<form action="{:Url('nav/add')}" method="post" >
	<div class="form-box">
		<div class="top-bar">
			<h5 class="nav-title">添加导航</h5>
			<div class="button-container">
				<button type="button" class="button -green center lst" style="width: 60px; height: 28px; line-height: 10px; font-size: 13px;">返回</button>
			</div>
		</div>
		<div class="batch-table">
			<div class="aps-grid-row">
				<div class="aps-grid-col">
					<label for=""><span class="red-color"></span>导航名称：</label>
				</div>
				<div class="aps-grid-col-lg-18">
					<input type="text" name="nav_name" placeholder="" class="input-one">
				</div>
				<div class="clear"></div>
			</div>
			<div class="aps-grid-row">
				<div class="aps-grid-col">
					<label for=""><span class="red-color"></span>地址：</label>
				</div>
				<div class="aps-grid-col-lg-18">
					<input type="text" name="nav_url" placeholder="" class="input-one">
				</div>
				<div class="clear"></div>
			</div>
			<div class="aps-grid-row">
				<div class="aps-grid-col">
					<label for=""><span class="red-color"></span>父级导航：</label>
				</div>
				<div class="aps-grid-col-lg-18">
					<select name="nav_parent">
						<option value="0">顶级导航</option>
						{foreach $nav_parent as $k => $v}
							<option value="{$v.id}">{$v.nav_name}</option>
						{/foreach}
					</select>
				</div>
				<div class="clear"></div>
			</div>
			<div class="aps-grid-row">
				<div class="aps-grid-col">
					<label for="">是否显示：</label>
				</div>
				<div class="aps-grid-col-lg-18">
					<input type="radio" name="is_show" value="1"> 作为导航显示 &nbsp;
					<input type="radio" name="is_show" value="0" checked="checked"> 不显示
				</div>
				<div class="clear"></div>
			</div>
			<div class="aps-grid-row">
				<div class="aps-grid-col">
					
				</div>
				<div class="aps-grid-col-lg-18">
					<div class="button-container">
						<button type="submit" class='button -green center'>完成提交</div>
					</div>
				</div>
				<div class="clear"></div>
			</div>
		</div>
	</div>
</form>
</body>
<script>
    $('.lst').click(function(){
        window.location.href="{:Url('nav/lst')}";
    })

</script>
</html>